import request from '@/utils/request'

// 获取流程信息
export function getWorkflow(query) {
  return request({
    url: '/workflow/process/process-definition',
    method: 'get',
    params: query
  })
}

export function getWorkflowXml(deploymentId) {
  return request({
    url: '/workflow/process/download/' + deploymentId,
    method: 'get'
  })
}
